package com.dense.kuiniu.bookborrow;

import android.os.Bundle;
import android.view.View;

import com.android.serialport.SerialPortManager;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

/**
 * @author Administrator
 * @date 2021/2/1
 */
public class TestActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test);
    }

    public void open(View view) {
        SerialPortManager.getInstance().openRFIDDevice();
    }

    public void send(View view) {
        SerialPortManager.getInstance().startInventory();
    }
}